

#ifdef E2P_COPY_COPY
#define SEND_E2P_KEY  0xFE
#define RECV_E2P_KEY  0xFF
#endif


#define MRP_KEY_RED       1 
#define MRP_KEY_GREEN     2
#define MRP_KEY_YELLOW    3
#define MRP_KEY_BLUE      4

#define EPG_END_KEY                 0xFC
#define NVOD_END_KEY                0xFD

#define RADIO_UPDATE_KEY      0xFA/*050708 ADD FOR RADIO BANNER 20070127 change
                                                             0xFE-->0xFA*/

#define	REMOTE_KEY_REPEATED			0XFF00 /*	0x80 */

#define REMOTE_SYSTEM_CODE				0X04  

/*20050220 add MENU+OK KEY*/ 
#define FONRT_MENU_OK_KEY               48
#define OUT_MENU_OK_KEY                0xFB
/*************************/

/*20050307 add update loader key*/
#define UPDATE_LOADER_KEY             0xFD

#define KEY_A           140
#define KEY_B           141
#define KEY_C           142
#define KEY_D           143
#define KEY_E            144
#define KEY_F           145

#define	EXIT_KEY						10   


#define	UP_ARROW_KEY					88
#define	DOWN_ARROW_KEY				89

#define	MUTE_KEY						13
#define	LEFT_ARROW_KEY				90	
#define	RIGHT_ARROW_KEY			    	91	

#define RED_KEY							109
#define GREEN_KEY						110
#define YELLOW_KEY						111
#define BLUE_KEY							112

#define OK_KEY							92	
#define SELECT_KEY					       92	
#define HELP_KEY							15	

#define POWER_KEY						12



#define FAV_KEY							0x22	
#define SEARCH_KEY						0x36	
#define AUDIO_KEY						78
#define VIDEO_KEY						0x04    

#define PAGE_UP_KEY				33
#define PAGE_DOWN_KEY			32

#define VOLUME_UP_KEY				16
#define VOLUME_DOWN_KEY 				17

#define P_UP_KEY 				33
#define P_DOWN_KEY 				32

#define LIST_KEY 			       245

#define RETURN_KEY			   131

#define STOCK_KEY                       147
#define	EPG_KEY							204		
#define NVOD_KEY						146
#define HTML_KEY                        256


#define	MENU_KEY						84
#define	HOMEPAGE_KEY					84		
#define   MOSAIC_PAGE_KEY               130

#define	VOLUME_PREV_KEY					16		
#define	VOLUME_NEXT_KEY					17	

#define ZOOM_KEY						RED_KEY		

/*
 * since the ASCII code value for 0 to 9 is clashing with the
 * valid remote keys, we selected '0' as 0x50 instead of 0x30
 */
#define	TV_RADIO_KEY					78	/* RSW2 */
#define	KEY_DIGIT0     0		/* converted K0_KEY to K9_KEY */
#define	KEY_DIGIT1     1
#define	KEY_DIGIT2     2
#define	KEY_DIGIT3     3
#define	KEY_DIGIT4     4
#define	KEY_DIGIT5     5
#define	KEY_DIGIT6     6
#define	KEY_DIGIT7     7
#define	KEY_DIGIT8     8
#define	KEY_DIGIT9     9

#define	K1_KEY							0x35	/* RSW5 */
#define	K2_KEY							0x2D	/* RSW6 */
#define	K3_KEY							0x25	/* RSW7 */
#define	K4_KEY							0x1D	/* RSW8 */
#define	K5_KEY							0x34	/* RSW9 */
#define	K6_KEY							0x2C	/* RSW10 */
#define	K7_KEY							0x24	/* RSW11 */
#define	K8_KEY							0x1C	/* RSW12 */
#define	K9_KEY							0x33	/* RSW13 */
#define	K0_KEY							0x2B	/* RSW14 */
#define NO_KEY_PRESS    65535

/*end of file*/

